#include "Mesh.h"

Mesh::SubMeshIterator Mesh::getSubMeshStartIter()
{
	return mSubMeshes.begin();
}
Mesh::SubMeshIterator Mesh::getSubMeshEndIter()
{
	return mSubMeshes.end();
}
void Mesh::addSubMesh(SubMesh* sm)
{
	mSubMeshes.push_back(sm);
}
VERTEX* Mesh::getVertexAt(int pos)
{
	return mVertices.at(pos);
}
void Mesh::addVertex(VERTEX* v)
{
	mVertices.push_back(v);
}
TEXCOORD* Mesh::getTexCoordAt(int pos)
{
	return mTexCoords.at(pos);
}
void Mesh::addTexCoord(TEXCOORD* t)
{
	mTexCoords.push_back(t);
}
NORMAL* Mesh::getNormalAt(int pos)
{
	return mNormals.at(pos);
}
void Mesh::addNormal(NORMAL* n)
{
	mNormals.push_back(n);
}
int	Mesh::getVertexCount()
{
	return mVertices.size();
}
